package spark.ml;

import java.io.Serializable;

/**
 * 作者: LDL
 * 说明:
 * 时间: 2015/6/28 15:48
 */
public class Document implements Serializable {

    private long id;
    private String text;

    public Document(long id, String text) {
        this.id = id;
        this.text = text;
    }

    public long getId() { return this.id; }
    public void setId(long id) { this.id = id; }

    public String getText() { return this.text; }
    public void setText(String text) { this.text = text; }
}
